package com.inossem.warehousestorage_inossem.bean.inStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/12.
 */

public class InStorageFreeConfirmRequestBean extends Bean {


    /**
     * stock_input_id : 1
     * purchase_order_code : 4500036466
     * exempt_check : 2
     * user_list : [{"user_id":"a123457","role_id":"14"}]
     * item_list : [{"stock_input_rid":"1","purchase_order_rid":"00010","fty_id":"2000","location_id":"20000049","qty":"10","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]},{"stock_input_rid":"2","purchase_order_rid":"00020","fty_id":"2000","location_id":"20000049","qty":"1","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-13"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-14"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]}]
     */

    private  String stock_input_code;
    private String stock_input_id;
    private String purchase_order_code;
    private String exempt_check;
    private List<UserListBean> user_list;
    private List<StockInputItemListBean> item_list;

    public String getStock_input_code() {
        return stock_input_code;
    }

    public void setStock_input_code(String stock_input_code) {
        this.stock_input_code = stock_input_code;
    }

    public String getStock_input_id() {
        return stock_input_id;
    }

    public void setStock_input_id(String stock_input_id) {
        this.stock_input_id = stock_input_id;
    }

    public String getPurchase_order_code() {
        return purchase_order_code;
    }

    public void setPurchase_order_code(String purchase_order_code) {
        this.purchase_order_code = purchase_order_code;
    }

    public String getExempt_check() {
        return exempt_check;
    }

    public void setExempt_check(String exempt_check) {
        this.exempt_check = exempt_check;
    }

    public List<UserListBean> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListBean> user_list) {
        this.user_list = user_list;
    }

    public List<StockInputItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<StockInputItemListBean> stock_input_item_list) {
        this.item_list = stock_input_item_list;
    }

    public static class UserListBean {
        /**
         * user_id : a123457
         * role_id : 14
         */

        private String user_id;
        private String role_id;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }
    }

    public static class StockInputItemListBean {
        /**
         * stock_input_rid : 1
         * purchase_order_rid : 00010
         * fty_id : 2000
         * location_id : 20000049
         * qty : 10
         * batch_spec_list : [{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}]
         * batch_material_spec_list : [{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]
         */

        private String stock_input_rid;
        private String purchase_order_rid;
        private String fty_id;
        private String location_id;
        private String qty;
        private List<BatchSpecListBean> batch_spec_list;
        private List<BatchMaterialSpecListBean> batch_material_spec_list;

        public String getStock_input_rid() {
            return stock_input_rid;
        }

        public void setStock_input_rid(String stock_input_rid) {
            this.stock_input_rid = stock_input_rid;
        }

        public String getPurchase_order_rid() {
            return purchase_order_rid;
        }

        public void setPurchase_order_rid(String purchase_order_rid) {
            this.purchase_order_rid = purchase_order_rid;
        }

        public String getFty_id() {
            return fty_id;
        }

        public void setFty_id(String fty_id) {
            this.fty_id = fty_id;
        }

        public String getLocation_id() {
            return location_id;
        }

        public void setLocation_id(String location_id) {
            this.location_id = location_id;
        }

        public String getQty() {
            return qty;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public List<BatchSpecListBean> getBatch_spec_list() {
            return batch_spec_list;
        }

        public void setBatch_spec_list(List<BatchSpecListBean> batch_spec_list) {
            this.batch_spec_list = batch_spec_list;
        }

        public List<BatchMaterialSpecListBean> getBatch_material_spec_list() {
            return batch_material_spec_list;
        }

        public void setBatch_material_spec_list(List<BatchMaterialSpecListBean> batch_material_spec_list) {
            this.batch_material_spec_list = batch_material_spec_list;
        }

        public static class BatchSpecListBean {
            /**
             * batch_spec_code : ZSCRQ
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }

        public static class BatchMaterialSpecListBean {
            /**
             * batch_spec_code : production_time
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }
    }
}
